package com.mq.topic;

import java.io.Serializable;

/**
 * @author ytj
 * @date 2024/1/15
 */
public class Demo2Message implements Serializable {
    public static final String QUEUE_NAME = "QUEUE_DEMO_02";
    public static final String ExCHANGE_NAME = "EXCHANGE_DEMO_02";
    public static final String routeKey = "*.topic";

    private Integer id;

    public Demo2Message(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
